<title>微信跟单注册</title>
<div id="login">
	<img src="img/login.png" alt="" />
	<div class="box">

		<!--<div class="innerBox">
			<input type="text" placeholder="账 号：" id="zusername" />
			<i class="mui-icon mui-icon-person"></i>
		</div>-->
		<div class="innerBox">
			<input type="text" placeholder="邮 箱：" id="zemail" >
			<i class="mui-icon mui-icon-email"></i>
			<!--<button type="button" class="mui-btn mui-btn-primary mui-btn-outlined" id="zc_getCodeBtn">获取验证码</button>-->
		</div>
		<div class="innerBox">
			<input type="text" placeholder="验证码：" id="zcode" style="width: 70%;">
			<i class="mui-icon mui-icon-chatbubble"></i>
			<button type="button" class="mui-btn mui-btn-primary mui-btn-outlined" id="zc_getCodeBtn">获取验证码</button>
			<!--<button type="button" class="mui-btn mui-btn-primary" id="zc_getCodeBtn">获取验证码</button>-->
		</div>
		<div class="innerBox">
			<input type="password" placeholder="密 码：" id="zpassword" />
			<i class="mui-icon mui-icon-locked"></i>
		</div>
		<div class="innerBox">
			<input type="password" placeholder="确认密码：" id="zpassword2" />
			<i class="mui-icon mui-icon-locked"></i>
		</div>

		<button ng-click="onzc()">微信绑定</button>

	</div>
</div>
<script type="text/javascript">
	$("#login").height($(window).height())
	$(window).resize(function() {
		$("#login").height($(window).height())
	})
	var zcBol = true;
	$(function() {
		$('#zc_getCodeBtn').on("tap", function() {

			if($('#zemail').val() == "") {
				mui.alert("邮箱不能为空")

			} else if(emailGe($('#zemail').val()) == false) {
				return false;
			} else {
				zcBol = setTime($('#zemail').val(), $('#zc_getCodeBtn'), zcBol)
               
			}

		})
	})
</script>